package com.zts.modules.sys.entity.resource;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.zts.base.resource.BaseResource;
import com.zts.modules.sys.entity.UserGroups;

import java.util.Date;
import java.util.List;

/**
 * Created by Zhangkh on 2017/6/2.
 */
public class UserResource extends BaseResource {
    @JsonProperty("id")
    private Long id;
    private String loginName;          //用户标识
    private String userName;
    //private String password;
    private String status;
    private String type;
    private String sex;
    private String grade;

    private String mobile;
    private String mobileShort;
    private String phone;
    private String phoneShort;

    private String email;
    private String remark;

    private String idcard;

    private List<UserGroups> groups;

    public List<UserGroups> getGroups() {
        return groups;
    }

    public void setGroups(List<UserGroups> groups) {
        this.groups = groups;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getMobileShort() {
        return mobileShort;
    }

    public void setMobileShort(String mobileShort) {
        this.mobileShort = mobileShort;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhoneShort() {
        return phoneShort;
    }

    public void setPhoneShort(String phoneShort) {
        this.phoneShort = phoneShort;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }


    public void setId(Long id) {
        this.id = id;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }


}
